package com.vogue.supplymall.order.domain.biz;

import com.vogue.supplymall.common.domain.dto.SearchOrderInfo;
import com.vogue.supplymall.common.domain.dto.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * The interface Order detail biz.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-02-06
 */
public interface OrderListBiz {

    /**
     * Find order detail map.
     *
     * @param searchOrderInfo the search order info
     * @param info            the info
     * @return the map
     */
    List<Map<String, Object>> findOrderList(SearchOrderInfo searchOrderInfo, UserInfo info);

    /**
     * Find order detail map.
     *
     * @param searchOrderInfo the search order info
     * @return the map
     */
    List<Map<String, Object>> findOrderCount(SearchOrderInfo searchOrderInfo);
}
